﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.CustomerModel
{
    public class CustomerDetailsViewModel : UserAllPermissionsViewModel
    {
        public int CustomerID { get; set; }
        public List<CustomerContactDetailsViewModel> ContactRows { get; set; }
        [DisplayName("Customer Code:")]
        public string CustomerCode { get; set; }
        [DisplayName("Organization Name:")]
        public string OrganizationName { get; set; }
        [DisplayName("Address 1:")]
        public string Address { get; set; }
        [DisplayName("Address 2:")]
        public string Address2 { get; set; }
        public List<SelectListItem> City { get; set; }
        [DisplayName("City:")]
        public string CityID { get; set; }
        public string SelectedCity { get; set; }
        public List<SelectListItem> StateID { get; set; }
        [DisplayName("StateID:")]
        public string SelectedStateID { get; set; }
        public List<SelectListItem> CountryID { get; set; }
        [DisplayName("Country:")]
        public string SelectedCountryID { get; set; }
        [DisplayName("Zip:")]
        public string PostalCode { get; set; }
        [DisplayName("CC EMail:")]
        public string CCEMail { get; set; }
        [DisplayName("Phone Number 1:")]
        public string PhoneNumber1 { get; set; }
        [DisplayName("Phone Number 2:")]
        public string PhoneNumber2 { get; set; }
        [DisplayName("Fax Number:")]
        public string FaxNumber { get; set; }
        [DisplayName("Note:")]
        public string Note { get; set; }
        [DisplayName("Mail:")]
        public bool Mail { get; set; }
        [DisplayName("Active:")]
        public bool Active { get; set; }
        public string Name { get; set; }
        public string Title { get; set; }
        public string EMail { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
        public string Message { get; set; }
    }
    public class CustomerContactDetailsViewModel
    {
        public int CCID { get; set; }
        public int CustomerID { get; set; }
        public string Name { get; set; }
        public string Title { get; set; }
        public string EMail { get; set; }
        public string Phone { get; set; }
        public string Fax { get; set; }
    }
}